/**
 * @date 2006-6-7 15:14:01
 *
 */
package org.nanhill.commons.math;

/**
 * http://sd.csdn.net/n/20060607/91403.html
 * http://www.math.purdue.edu/~clomont/Math/Papers/2003/InvSqrt.pdf
 * 
 * @author alin [xalinx at gmail dot com]
 * 
 */
public class SquareRoot {
	/*
	 * ================ SquareRootFloat ================
	 */
	// float SquareRootFloat(float number) {
	// long i;
	// float x, y;
	// final float f = 1.5F;
	//
	// x = number * 0.5F;
	// y = number;
	// i = * ( long * ) &y;
	// i = 0x5f375a86 - ( i >> 1 ); // 注意这一行
	// y = * ( float * ) &i;
	// y = y * ( f - ( x * y * y ) );
	// y = y * ( f - ( x * y * y ) );
	// return number * y;
	// }
}
